package com.yupi.oj.model.dto.voucher;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class VoucherUpdateRequest implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 优惠券标题
     */
    private String title;

    /**
     * 使用规则
     */
    private String rules;

    /**
     * 抵扣金额
     */
    private Long actualValue;

    /**
     * 优惠券状态
     */
    private Integer status;
    /**
     * 库存
     */
    private Integer stock;

    /**
     * 生效时间
     */
    private LocalDateTime beginTime;

    /**
     * 失效时间
     */
    private LocalDateTime endTime;

}
